projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93150e
)
Notify server of recent changes before save notification
author
Michal Krzywkowski
<k.michal@zoho.com>
Thu, 9 Aug 2018 19:21:32 +0000
(21:21 +0200)
committer
João Távora
<joaotavora@gmail.com>
Thu, 9 Aug 2018 19:21:32 +0000
(20:21 +0100)
* eglot.el (eglot--signal-textDocument/didSave): Call
eglot--signal-textDocument/didChange.
GitHub-reference: close https://github.com/joaotavora/eglot/issues/60
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 125c795bc3503fc23a62a790fa0e29f06d47ab2c..d29bef540cb53ad8fa16809836f8a83164a0d3c6 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1121,6
+1121,7
@@
When called interactively, use the currently active server"
(defun eglot--signal-textDocument/didSave ()
"Send textDocument/didSave to server."
+ (eglot--signal-textDocument/didChange)
(jsonrpc-notify
(eglot--current-server-or-lose)
:textDocument/didSave